package com.java.socket;

import org.junit.Test;

import java.io.IOException;
import java.net.Socket;

public class TcpClient2 {

	public static void main(String[] args) throws IOException, InterruptedException {
		Socket socket = new Socket("127.0.0.1",4000);

		new ClientInputThread(socket).start();
		new ClientOutputThread(socket).start();
	}
}
